package cn.wind.xboot.logic.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.util.Date;

/**
 *店员列表dto
 * @author WangHao
 * @date 2019-01-03
 */
public class StoreStaffDto {
    /**
     * 店员id
     */
    private Long storeStaffId;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 所属商铺
     */
    private String storeName;
    /**
     * 菜市场名称
     */
    private String marketName;
    /**
     * 注册时间
     */
    private Date createTime;
    /**
     * 性别
     */
    private Integer gender;

    public Long getStoreStaffId() {
        return storeStaffId;
    }
    @JsonSerialize(using = ToStringSerializer.class)
    public void setStoreStaffId(Long storeStaffId) {
        this.storeStaffId = storeStaffId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getMarketName() {
        return marketName;
    }

    public void setMarketName(String marketName) {
        this.marketName = marketName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }
}
